<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"  
	xmlns:ui="http://java.sun.com/jsf/facelets" 
      xmlns:h="http://java.sun.com/jsf/html"
       xmlns:f="http://java.sun.com/jsf/core"
      >

<head>

</head>
<body>
<ui:composition template="/templates/template.xhtml">
	

	<ui:define name="contenu">
	
		<f:view>
		
	<br/><br/><br/><br/>
			<div style="border:1px solid purple; border-radius:1px; width:550px; ">
			<table border ="0" width="500px">
			<h:form>
					<tr><td></td></tr>
					<tr>
						<td align="left"><strong><h:outputText style="color:blue" value= "#{controllerBeanJsf.ticket1.name}" /></strong></td>
						<td align="right"><img src="resources/img/madonna.jpg" border="1px pink" width="100" height="80"/></td>
		    		</tr>
		    		<tr><td></td></tr>
		    		<tr>
		    			<td>Prix : <h:outputText value= "#{controllerBeanJsf.ticket1.price}" /> $.</td>
		    			
		    			<td align="right"><h:commandButton value="Ajouter au panier" 
		    			style="background:purple; color:white;border: 2px solid grey;border-radius:5px; height:30px"
		    			action="#{controllerBeanJsf.addToCardTicket}"/></td>
		    		</tr>
		    		<tr><td></td></tr>
		    	
		    </h:form>
	        </table>
	        </div>
		</f:view>
		
	</ui:define>
	
</ui:composition>
</body>
</html>